package com.mapper;

import com.domain.Addresslist;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AddresslistMapper {
    @Select("select * from addresslist")
    public List<Addresslist> findAll();
    @Insert("insert into addresslist values(null,'${A_NAME}','${A_PHONE}','${A_MAIL}','${A_RELATION}')")
    public void insert(Addresslist addresslist);


}
